From: | alexander.fritsch |
Date: | 9 Sep 2001 at 13:01:16 |
Subject: | (unknown) |
Hello,
I have one more problem in my webcam-script.
I have the following construction in the script
ADDRESS COMMAND
DO 3 UNTIL RC=0 /* repeat 3 times in case of an error */
PutClient
'something-online2534:gv#8576@ftp.something-online.de/webcampic.jpg'
END
Putclient is a ftp-sender from aminet. The strange string is
ftp-address, password, user-id and file. (slightly changed for this
mail)
That works really fine. My MiamiDX goes online at eny traffic, so as
soon putclient tries to send the picture MiamiDX goes online, the
picture will be sent and MiamiDX goes offline after 20 seconds without
traffic.
To make the script more general and user configurable I tried to put
the ftp-String into a string variable at the top of the program:
OPTIONS RESULTS
FtpString =
'something-online2534:gv#8576@ftp.something-online.de/webcampic.jpg'
and later in the script
ADDRESS COMMAND
DO 3 UNTIL RC=0 /* repeat 3 times in case of an error */
PutClient FtpString
END
According to Snoopdos that does the same as above, but that does not
work! MiamiDX goes online, nothing happens and 20 seconds later is
goes offline again. Sometimes (but very seldom) it works, but most the
time it does not work! The command above works everytime...
Do you see a mistake in my example?
Kind regards selco
http://selco.da.ru
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Secure all your Web servers now: Get your FREE Guide and learn to: DEPLOY THE LATEST ENCRYPTION,
DELIVER TRANSPARENT PROTECTION, and More!
http://us.click.yahoo.com/k0k.gC/nT7CAA/yigFAA/saFolB/TM
---------------------------------------------------------------------~->
ARexx mailing list - No flames, no overquoting, no crossposting.
Unsub: Blank mail to mailto:arexx-unsubscribe@yahoogroups.com
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/